<ul class="nav nav-pills nav-stacked">

    {{#each categories}}

        <li {{#if active}} class="active"  {{/if}} >
            <a href="#" class="category_link" data-id="{{id}}">
                <i class="icon-chevron-right"></i> {{name}}
            </a>
        </li>

    {{/each}}

</ul>